<?php


namespace app\lib\exception;


class TokenException extends BaseException
{
    public function __construct($params = [])
    {
        parent::__construct($params);
    }

    //状态码
    public $code = 401;
    //错误信息
    public $msg = 'token已失效或者无效token';
    //自定义错误码
    public $errorCode = 10001;
}